{% extends 'users/profile-base.html' %}
{% load static %}
{% load tasks_tags %}


{% block title %}
    Завершение
{% endblock title %}

{% block right_frame %}
    <div class="profile-frame__right">
        <div class="task-change-frame-container glass">
            <a class="backBtn" href="{% url 'task:main' %}">
                <img src="{% static 'icons/back_btn.png' %}" alt=""/>
            </a>
            <div class="task-change-frame">
                <form method="post" enctype="multipart/form-data">
                    {% csrf_token %}
                    <div class="frameData row">
                        <div class="frameData row">
                        <label class="inputArea" for="id_end_img" class="form-label">Изображение:</label>
                    {{ form.end_img }}
                    </div>
                        <div class="frameData row">
                        <label class="inputArea" for="id_done_comment" class="form-label">Комментарий:</label>
                    {{ form.done_comment }}
                    </div>
                    <button class="saveBtn" type="submit">Выполнено</button>
                </form>
            </div>
        </div>
    </div>
{% endblock right_frame %}